<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>导入资源</title>
<script src="../jcx/1/full.js" charset="utf-8"></script>
<script>
	function imp(){
		var text = $E('text').value;
		alert(text);
		ajaxRequest('../resource/import.json', {'text':text}, function(){
			alert('导入成功!');
		});
	}
</script>
</head>

<body>
	<p>
		<textarea name="text" id="text" cols="80" rows="20"></textarea>
	</p>
	<p>
		<input onclick="imp()" type="button" id="button" value="提交" />
	</p>
</body>
</html>
